package com.ruoyi.business.domain.bo;

import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * ExportType业务对象 file_export_type
 *
 * @author ruoyi
 * @date 2025-01-15
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class FileExportTypeBo extends BaseEntity {

    /**
     * id
     */
    @NotNull(message = "id不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 名称
     */
    @NotBlank(message = "名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String name;

    /**
     * 类型id
     */
    @NotBlank(message = "类型id不能为空", groups = { AddGroup.class, EditGroup.class })
    private String typeId;

    /**
     * 类型名称
     */
    private String typeName;


}
